#include "FamilyAccount.h"

void FamilyAccount::update(int eventType){
	if (eventType == BankObserver::meetEvent){
		std::cout<<"You were called for a meeting"<<std::endl;
	}
	else if(eventType == BankObserver::depositEvent){
		std::cout<<"500 nis were deposed"<<std::endl;
	}
}
int FamilyAccount::getType(){
	return BankObserver::family;
}